<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ include file="/common/taglibs.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
	<head>
		<title><decorator:title />-<fmt:message key="webapp.name" /></title>
		<%@ include file="./include/meta.jspf"%>
		<%@ include file="./include/styles.jspf"%>
		<%@ include file="./include/jsCssLibTop.jspf"%>
		<decorator:head />
	</head>
	<body <decorator:getProperty property="page.class" />
		<decorator:getProperty property="body.id" writeEntireProperty="true"/>
		<decorator:getProperty property="body.onload" writeEntireProperty="true"/>
		<decorator:getProperty property="body.onunload" writeEntireProperty="true"/>>
		<div class="wrap">
			<div id="header" class="header">
				<%@ include file="./include/header.jspf"%>
			</div>
			<div id="main" class="main clearfix">
				<%-- ========== 提示信息开始 ========= --%>
				<%@ include file="./include/messages.jspf"%>
				<%-- ========== 提示信息结束 ========= --%>
				<%-- ========== 功能菜单开始 ========= --%>
				<div id="sideMenu" class="menu">
					<div class="menu_wrap">
						<%@ include file="include/sideMenu.jspf"%>
					</div>
					<%-- ========== 活动间隔线开始 ========= --%>
					<div id="sidebar" class="sidebar"></div>
					<%-- ========== 活动间隔线结束 ========= --%>
				</div>
				<%-- ========== 功能菜单结束 ========= --%>

				<div class="workground" id="mainDiv"  <c:if test="${hideMainDiv}">style="display:none;"</c:if> >
					<div class="workground_wrap">
						<div class="toolbar" <c:if test="${noToolBar}">style="display:none;"</c:if>>
							<div class="content" style="display:none;">
								<%-- ========== start:操作按钮区 ========= --%>
								<div class="list">
									<decorator:getProperty property="page.tags" />
									<decorator:getProperty property="page.buttons" />
								</div>
								<%-- ========== end:  操作按钮区 ========= --%>
								
								<%-- ========== start:搜索区        ========= --%>
								<c:set var="searchContent">
									<decorator:getProperty property="page.searchBox" />
								</c:set>
								<%-- 有的页不会有搜索区，如编辑页，系统配置菜单下相关的页面 --%>
								<c:if test="${not empty searchContent}">
									<div class="search">
										<div id="searchCrieriaDiv">
											${searchContent}
										</div>
									</div>
								</c:if>
								<%-- ========== end:  搜索区        ========= --%>
							</div>
						</div>
						<div class="cnt" <decorator:getProperty property="page.cntStyle"/>>
							<decorator:body></decorator:body>
						</div>
					</div>
				</div>
				<%-- ==========start:form加载于此处，主要是商品模块用到==========--%>
				<div id="formDiv" style="display: none;"/>
				<%-- ==========end:  form加载于此处，主要是商品模块用到==========--%>
			</div>
		</div>
		<div id="footer" class="footer" style="display:none;">
			<%@ include file="./include/version.jspf"%>
		</div>
		<div style="display: none;">
			<script type="text/javascript">
			$j(document).ready(function(){
				<%-- ==========start:功能菜单分割线script==========--%>
				$j('#sidebar').click(fnToggleMenu);
				$j('#sidebar').hover(
					function(){$j(this).addClass('on')},
					function(){$j(this).removeClass('on')}
				);
				if (getCookie("SIDE_MENU_SHOW")=='0'){
					$j("body").addClass('close_left');
				}
				fnUpdateSize();
				$j(window).bind("resize", fnUpdateSize);
				<%-- ==========end:  功能菜单分割线script==========--%>
			});
			</script>
			
			<%@ include file="./include/jsCssLibBottom.jspf"%>
		</div>
	</body>
</html>
